del *.bak /s
cls
@echo off
@echo Rebuild All Programs
@for /D %%i in (*.*) do (
  @if exist %%i\makefile (
    @echo Build [%%i]
    @cd %%i
    make clean
    make
    cd ..
  )
)
@echo Completed!
@echo on
